<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script>
      window.isInElectron = false
      if (typeof globalThis !== 'undefined' && globalThis.preloadInit) {
        globalThis.preloadInit()
        window.isInElectron = true
      }
    </script>
    <script src="https://unpkg.com/json5@^2.0.0/dist/index.min.js"></script>
    <script src="https://unpkg.com/cssobj"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.11/vue.min.js"></script>
    {{if head}}
    {{@ head }}
    {{/if}}
    {{@ beforeheader }}
    <style>{{@ csscontent }}</style>
</head>

<body>
<script>
  window.addStyleSheetFromTemplate = function(k) {
    var styleTemplateId = `${k}-style-tpl`;
    var template = document.getElementById(styleTemplateId)
    var style = document.createElement('style');
    style.id = `${k}-style`;
    style.type = 'text/css';
    style.innerHTML = template.innerHTML;
    document.getElementsByTagName('head')[0].appendChild(style);
  }
</script>

<style>__CSSOBJ__</style>
<main class="warpper">
    {{@ content}}
</main>
</body>
<script>
  document.addEventListener("DOMContentLoaded", function(event) {
    var script = document.createElement("script");
    script.src = "https://cdn.kaoyanvip.cn/jquery-3.3.1.min.js";
    script.onload = script.onreadystatechange = function() {
      $(function () {
{{@ script }}
      })
    };
    document.body.appendChild(script);
  });
</script>
<script>

  //百度统计
  var _hmt = _hmt || [];
  (function () {
    var hm = document.createElement("script");
    hm.src = "https://hm.baidu.com/hm.js?2fe7b786e1fd4ab90a8f350365b1357c";
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(hm, s);
  })();

</script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
</html>
